<template>
  <div class="box">
    <heads></heads>
    <tools></tools>

    <div class="tou">
      <!-- <img class="img" :src="backgroundImage" /> -->
      <div class="tit">
        <!-- <div class="ceng"></div> -->
        <div class="tit1">
          <div class="list">
            <div class="li" style="cursor: pointer" @click="() => {
                $router.push('/');
              }
              ">
              <img src="../../assets/logo.png" />
            </div>

            <downloadAppBtn></downloadAppBtn>
          </div>
        </div>
      </div>
    </div>
    <!-- <iframe id="geoPage" width=0 height=0 frameborder=0  style="display:none;" scrolling="no"
		    src="https://apis.map.qq.com/tools/geolocation?key=ZYIBZ-6VVRW-NCURN-O6GZO-2VRAH-KIBJV&referer=myapp">
		</iframe> -->
    <moban></moban>

    <floor></floor>
    <login ref="login" @succer="loginsucces"></login>

    <div class="gotop" @click="toTop" v-show="showToTop" style="left: calc(100vw / 2 + 600px);">
      <img src="@/assets/top.png" />返回顶部
    </div>
  </div>
</template>

<script>
// import "swiper/swiper-bundle.css";
import floor from "../../components/floor";
import tools from "../../components/tools";
import login from "../../components/login.vue";
import uploadvideo from "../../components/uploadVideo.vue";
import chat from "../../components/chat";
import mainHead from "../../components/head.vue";
import heads from "../../components/head";
import { mapState } from "vuex";

import moban from "./comp/moban.vue";

export default {
  name: "index",
  components: {
    floor,
    login,
    uploadvideo,
    chat,
    tools,
    mainHead,
    heads,
    moban,
  },
  data() {
    return {
      loginstate: false,
      msg: "",
      text: "向右滑",
      accuracy: 1, // 精确度小，可允许的误差范围小；为1时，则表示滑块要与凹槽完全重叠，才能验证成功。默认值为5
      searchtext: "",
      // ce: false,
      zbc: false,
      con: false,
      con1: false,
      con2: false,
      zhanghao: false,
      userInfo: "",
      // 登录，注册变量
      zhuce_xy: "",
      phone: "",
      password: "",
      phoneCode: "",
      wxOpenid: "",
      image: "",
      nikeName: "",
      zfbOpenid: "",
      pdOpenid: "",
      setIntervalNum: "",
      yzm: "获取验证码",
      shijian: 60,
      show: false,
      text: "",
      //房源信息参数
      HousesPage: {
        pageNo: 1,
        pageSize: 10,
        upStatus: 1,
        isShow: 1,
        examineStatus: 2,
        isLz: "0",
        orderSort: "1",
      },
      Housestotal: 0,
      HousesList: [],

      //看点信息
      WatchList: [],
      //轮播图
      loading: true,
      currentIndex: 3, //当前中间imgs数组中index
      centerInfo: "", // 当前中间信息
      startX: "",
      endX: "",
      imgs: [],
      previous: 0,

      user: {},
      loc: {},
      bannerList: [],
      confirm: false,
      t1: "",
      swiper: true,
      backgroundImage: "",
      jiaruXuan: "",
      jiaruXuan1: "",
      isshow: false,
      location: "",
    };
  },
  filters: {
    hidePhone(phone) {
      return phone.substring(0, 3) + "***" + phone.substring(phone.length - 2);
    },
  },

  beforeDestroy() {
    clearInterval(this.t1);
  },
  computed: {
    ...mapState({
      msgCount: (state) => state.msgCount,
    }),
    price(price) {
      return (price / 10000).toFixed(2);
    },
    UnitPrice(price, area) {
      return (price / area).toFixed(2);
    },
  },
  created() {
    this.initMap();
    // this.init();
    // this.getData();
  },
  methods: {
    clear() { },
    quyuClick() { },
    toJump(path, type) {
      const routeLink = this.$router.resolve({
        path: `${path}?type=${type}`,
      });
      window.open(routeLink.href, "_blank");
      // this.$router.push("index/" + type);
    },
    // 获取定位
    initMap() {
      let data = {
        key: "ZYIBZ-6VVRW-NCURN-O6GZO-2VRAH-KIBJV",
        output: "jsonp",
      };
      this.$jsonp("https://apis.map.qq.com/ws/location/v1/ip", data).then(
        (data) => {
          this.location = data.result.ad_info.city;
        }
      );
    },
    toRouter(i) {
      console.log(this.$refs.mainhead);
      this.$refs.mainhead.setOpen(i);
    },

    Tamp() {
      window.addEventListener(
        "message",
        function (event) {
          if (event.data) {
            this.loc = event.data;
            if (this.loc) {
              console.log(this.loc);
            }
          }
        },
        false
      );
      setTimeout(function () {
        if (!this.loc) {
          console.log("定位超时");
        }
      }, 6000);
    },
    init() {
      this.getHouseInfo();
    },
    getUser() { },

    getHouseInfo() {
      this.$getHttp("/mob/home/getHouseInfo", this.HousesPage).then((data) => {
        if (data.code == 200) {
          //处理楼层信息
          // data.list.forEach((e) => {
          // 	if(e.hasOwnProperty("FLOOR") && e.FLOOR!=''){
          //     if (e.FLOOR.indexOf('|')!=-1) {
          //       e.foors=e.FLOOR.split('|')[0]+'层/'+e.FLOOR.split('|')[1]+'层'
          //       return
          //     }
          // 		e.foors = this.floor(e.FLOOR);
          // 	}
          //   if (!e.hasOwnProperty("shop_name")) {
          //     e.shop_name = "个人房源";
          //   }
          // });
          // 加载房源对比
          const contrastIdList = JSON.parse(
            localStorage.getItem("contrastIdList")
          );
          //处理楼层信息
          data.list.forEach((e) => {
            if (contrastIdList != null) {
              e.houseContrast = false;
              contrastIdList.forEach((el) => {
                if (el == e.id) {
                  e.houseContrast = true;
                }
              });
            }
            if (e.hasOwnProperty("FLOOR")) {
              if (e.FLOOR.indexOf("|") == -1) {
                e.foors = "";
              } else {
                e.foors =
                  e.FLOOR.split("|")[0] +
                  "层/" +
                  "共" +
                  e.FLOOR.split("|")[1] +
                  "层";
              }
            }
            if (!e.hasOwnProperty("shop_name")) {
              e.shop_name = "个人房源";
            }
          });

          this.HousesList = data.list;
          this.Housestotal = data.count;
        }
      });
    },

    HousesCurrentChange(e) {
      this.scrollToElement(document.querySelector(".bottom"));
      this.HousesPage.pageNo = e;
      this.HousesList = [];
      this.getHouseInfo();
    },
    searchCurrentChange(e) {
      this.searchPage.pageNo = e;
      this.searchList = [];
      this.getSearchInfo();
    },
    details(item) {
      if (item.transaction_type == 1) {
        this.$router.push({
          path: "/index/leaseDetails",
          query: {
            id: item.id,
          },
        });
      } else {
        this.$router.push({
          path: "/index/newHouseDetails",
          query: {
            id: item.id,
          },
        });
      }
    },
    login() {
      this.$refs.login.login();
    },
    tou_zhuce() {
      this.$refs.login.tou_zhuce();
    },
    loginout() {
      localStorage.removeItem("userInfo");
      localStorage.removeItem("contrastIdList");
      localStorage.removeItem("confirm");
      this.getUser();
    },
    loginsucces(e) {
      if (e) {
        this.getUser();
      }
    },
    search() {
      if (this.searchtext.trim() != "") {
        const routeLink = this.$router.resolve({
          path: "/index/houseSearch?search=" + this.searchtext,
        });
        window.open(routeLink.href, "_blank");
      }
      // this.$router.push({
      //   path: "/index/houseSearch",
      //   query: {
      //     search: this.searchtext,
      //   },
      // });
    },
    async getData() {
      this.$nextTick(() => {
        this.loading = false;
      });
    },
    // 计算中间卡片信息
    banner() {
      console.log("跳转");
    },
    toAgent(item) {
      // if(!item.shop_id){
      // 	this.$router.push({
      // 		path: "/index/userDetail",
      // 		query: {
      // 			id: item.user_id
      // 		}
      // 	});
      // 	return
      // }
      this.$router.push({
        path: "/index/goldConsultant",
        query: {
          id: item.user_id,
        },
      });
    },
    shopdetails(item) {
      if (item.shop_name == "个人房源") {
        this.$message({
          message: "个人房源！",
          type: "error",
          offset: 120,
          duration: 2000,
        });
      } else {
        const routeLink = this.$router.resolve({
          path: "/index/ShopDetails?id=" + item.shop_id,
        });
        window.open(routeLink.href, "_blank");
        // this.$router.push({
        //   path: "/index/ShopDetails",
        //   query: {
        //     id: item.shop_id
        //   }
        // });
      }
    },
    toWatching(id) {
      this.$router.push({
        path: "/index/particulars",
        query: {
          id: id,
          type: "watch",
        },
      });
    },
  },
};
</script>
<style lang="less" scoped>
.saixuan {
  /deep/ .el-input input {
    height: 30px;
    line-height: 30px;
  }

  /deep/ .el-input__suffix .el-input__icon {
    line-height: 30px;
  }

  .custom {
    /deep/ .el-input__suffix .el-input__icon {
      line-height: 30px;
    }
  }

  /deep/ .el-select {
    width: 120px;
  }
}

.divdw {
  position: absolute;
  left: 200px;
  top: 30px;
  height: 40px;
  background-color: rgba(51, 51, 51, 0.46);
  border-radius: 25px;
  border: 1px solid #ffffff;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;

  .divdw_img {
    width: 28px;
    height: 28px;
    margin-left: 12px;
  }

  .divdw_span {
    font-size: 18px;
    font-weight: 400;
    color: #ffffff;
    margin-right: 10px;
  }
}

.swiperclass {
  margin-top: 10px;
  // box-shadow: rgba(181, 181, 181, 0.3) 0px 10px 16px 0px;
  box-shadow: 0px 0px 10px 8px rgba(181, 181, 181, 0.3);
  // border: 2px solid rgb(214, 210, 210);
}

/deep/ .el-message--danger {
  color: red !important;

  .el-message__content {
    color: red !important;
  }
}

/deep/.el-message--danger {
  color: blue !important;
}

.el-message--danger {
  color: yellow !important;
}

.zbc {
  position: fixed;
  width: 100%;
  top: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 99;

  .con {
    position: absolute;
    width: 470px;
    height: 540px;
    background-color: #fff;
    border-radius: 5px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    .el-icon-close {
      position: absolute;
      color: #999999;
      top: 25px;
      right: 30px;
      font-size: 25px;
      cursor: pointer;
    }

    .d1 {
      position: absolute;
      top: 47px;
      left: 60px;
      font-size: 26px;
      font-weight: 600;
      color: #64b6a8;
    }

    .d2 {
      position: absolute;
      top: 58px;
      right: 60px;
      color: #999999;

      span {
        color: #64b6a8;
        border-bottom: 1px solid #64b6a8;
      }
    }

    input {
      width: 350px;
      font-size: 18px;
      line-height: 25px;
      margin-left: 60px;
      margin-bottom: 30px;
      border-bottom: 1px solid #d0d0d0;
      padding-bottom: 10px;
    }

    .input1 {
      margin-top: 140px;
    }

    .input_p {
      position: absolute;
      right: 60px;
      bottom: 43px;
      color: #64b6a8;
      font-size: 18px;
      cursor: pointer;
    }

    .xieyi {
      position: relative;
      width: 348px;
      margin-left: 60px;

      .p {
        width: 348px;
        font-size: 18px;
        color: #666;
        text-indent: 36px;
        line-height: 28px;

        span {
          color: #64b6a8;
        }
      }

      .el-checkbox {
        position: absolute;
      }

      /deep/.el-checkbox__inner {
        width: 28px;
        height: 28px;
        border-radius: 50%;
      }

      /deep/.el-checkbox__inner::after {
        border: 2px solid #fff;
        width: 6px;
        height: 13px;
        left: 9px;
        top: 4px;
        border-left: 0;
        border-top: 0;
      }

      /deep/.el-checkbox__input.is-checked .el-checkbox__inner,
      /deep/.el-checkbox__input.is-indeterminate .el-checkbox__inner {
        background-color: #64b6a8;
        border-color: #64b6a8;
      }
    }

    .queding {
      width: 350px;
      height: 48px;
      line-height: 48px;
      margin-left: 60px;
      text-align: center;
      background-color: #64b6a8;
      border-radius: 24px;
      margin-top: 30px;
      font-size: 21px;
      cursor: pointer;
    }

    .xuan {
      opacity: 0.5;
    }
  }

  .con1 {
    position: absolute;
    width: 470px;
    height: 650px;
    background-color: #fff;
    border-radius: 5px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    .el-icon-close {
      position: absolute;
      color: #999999;
      top: 25px;
      right: 30px;
      font-size: 25px;
      cursor: pointer;
    }

    .d1 {
      position: absolute;
      top: 47px;
      left: 60px;
      font-size: 26px;
      font-weight: 600;
      color: #64b6a8;
    }

    input {
      width: 350px;
      font-size: 18px;
      line-height: 25px;
      margin-left: 60px;
      margin-bottom: 30px;
      border-bottom: 1px solid #d0d0d0;
      padding-bottom: 10px;
    }

    .input1 {
      margin-top: 140px;
    }

    .input_p {
      position: absolute;
      right: 60px;
      bottom: 43px;
      color: #64b6a8;
      font-size: 18px;
      cursor: pointer;
    }

    .xieyi {
      position: relative;
      width: 348px;
      margin-left: 60px;

      .p {
        width: 348px;
        font-size: 18px;
        color: #666;
        text-indent: 36px;
        line-height: 28px;

        span {
          color: #64b6a8;
        }
      }

      .el-checkbox {
        position: absolute;
      }

      /deep/.el-checkbox__inner {
        width: 28px;
        height: 28px;
        border-radius: 50%;
      }

      /deep/.el-checkbox__inner::after {
        border: 2px solid #fff;
        width: 6px;
        height: 13px;
        left: 9px;
        top: 4px;
        border-left: 0;
        border-top: 0;
      }

      /deep/.el-checkbox__input.is-checked .el-checkbox__inner,
      /deep/.el-checkbox__input.is-indeterminate .el-checkbox__inner {
        background-color: #64b6a8;
        border-color: #64b6a8;
      }
    }

    .queding {
      width: 350px;
      height: 48px;
      line-height: 48px;
      margin-left: 60px;
      text-align: center;
      background-color: #64b6a8;
      border-radius: 24px;
      margin-top: 30px;
      font-size: 21px;
      cursor: pointer;
    }

    .xuan {
      opacity: 0.5;
    }

    .d {
      display: inline-block;
      font-size: 18px;
      color: #999999;
      margin-top: 16px;
      cursor: pointer;
    }

    .d2 {
      margin-left: 60px;
      margin-right: 165px;
    }

    .qita {
      width: 270px;
      margin-left: 50%;
      transform: translateX(-50%);
      margin-top: 35px;

      span {
        display: inline-block;
        vertical-align: middle;
        margin-right: 22px;
        color: #999;
      }

      span:nth-child(3n) {
        margin-right: 0;
      }

      .s1 {
        width: 58px;
        height: 1px;
        background-color: #999;
      }
    }

    .wx {
      width: 46px;
      margin-left: 50%;
      transform: translateX(-50%);
      margin-top: 35px;
      cursor: pointer;

      img {
        width: 46px;
        height: 46px;
      }

      p {
        font-size: 16px;
        color: #666;
        text-align: center;
        margin-top: 6px;
      }
    }
  }

  .con2 {
    position: fixed;
    width: 100%;
    top: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 991;

    .verify {
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);

      /deep/.slide-verify-slider {
        border: 0;
        margin-top: -5px;
      }
    }
  }

  .motaikuang {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 20;

    .verify {
      position: fixed;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
    }
  }
}

.box {
  position: relative;
  width: 100%;
  padding-bottom: 200px;
}

.fenye {
  width: 100%;
  height: 50px;
  text-align: center;
  margin-bottom: 110px;
}

.bottom {
  width: 1200px;
  margin-left: 50%;
  transform: translateX(-50%);
  color: #333333;
  margin-top: 0px;

  .tit {
    font-weight: 600;
    font-size: 32px;
    margin-bottom: 12px;
  }

  .list {
    width: 100%;

    .li {
      position: relative;
      padding-bottom: 24px;
      margin-bottom: 24px;
      border-bottom: 1px solid #e0e0e0;

      .biao {
        width: 300px;
        height: 200px;
        border-radius: 10px;
      }

      .name {
        display: inline-block;
        vertical-align: top;
        margin-left: 24px;
        position: relative;
        height: 200px;
        width: 700px;

        .t_1 {
          //font-size: 26px;
          font-size: 24px;
          cursor: pointer;
          font-weight: 600;
        }

        .t_2 {
          font-size: 16px;
          color: #666666;
          margin-top: 12px;
        }

        .t_3 {
          font-size: 16px;
          color: #666666;
          margin-top: 12px;
        }

        .t_4 {
          position: absolute;
          //font-size: 18px;
          font-size: 16px;
          color: #666666;
          bottom: 0;
          left: 0;
          white-space: nowrap;

          img {
            width: 31px;
            height: 31px;
            border-radius: 31px;
          }

          div {
            display: inline-block;
            //width: 90px;
            padding: 0px 5px;
            height: 30px;
            background: #ffffff;
            border: 1px solid #64b6a8;
            border-radius: 4px;
            text-align: center;
            line-height: 30px;
            margin-left: 24px;
            color: #64b6a8;
          }
        }
      }

      .qian {
        position: absolute;
        top: 62px;
        right: 0;

        .p1 {
          //width: 120px;
          //font-size: 32px;
          font-size: 30px;
          color: #e00000;
          text-align: center;
        }

        .p2 {
          //width: 120px;
          //font-size: 18px;
          font-size: 16px;
          color: #333333;
          text-align: center;
        }
      }
    }
  }
}

.zhong {
  position: relative;
  width: 1200px;
  margin-left: 50%;
  transform: translateX(-50%);
  color: #000;
  margin-top: 32px;
  padding-bottom: 20px;
  overflow: hidden;

  .kandian {
    position: absolute;
    right: 0;
    display: inline-block;
    width: 330px;
    height: 220px;
    box-sizing: border-box;
    border: 1px solid #64b6a8;

    img {
      width: 330px;
      height: 52px;
      margin-top: -7px;
      margin-left: -1px;
    }

    .list {
      margin-top: 8px;
      margin-left: 20px;
      color: #000;
      height: 117px;
      overflow: hidden;

      .li {
        width: 287px;
        padding: 16px 0;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
        font-size: 20px;
        border-bottom: 1px solid #e0e0e0;
      }
    }

    .gengduo {
      position: absolute;
      bottom: 16px;
      right: 20px;
      color: #64b6a8;

      img {
        width: 16px;
        height: 16px;
        margin-top: -4px;
      }
    }
  }

  .swiper {
    width: 800px;
    height: 240px;
    display: inline-block;

    img {
      width: 360px;
      height: 240px;
    }
  }
}

.tou {
  position: relative;
  width: 100%;

  // height: 300px;
  .tit {
    width: 100%;
    height: 100%;

    .ceng {
      position: absolute;
      width: 100%;
      height: 100%;
      // background: linear-gradient(
      //   178deg,
      //   #333333 0%,
      //   rgba(83, 83, 83, 0.53) 48%,
      //   #333333 100%
      // );
      // opacity: 0.74;
    }

    .tit_1 {
      width: 1200px;
      height: 100%;
      margin-left: 50%;
      transform: translateX(-50%);

      .div1 {
        position: absolute;
        left: 0;
        top: 30px;
        /* width: 60px;
        height: 60px;
        border-radius: 50%; */
        cursor: pointer;
      }

      .div2 {
        position: absolute;
        left: 74px;
        top: 40px;
        font-size: 28px;

        color: #fff;
        cursor: pointer;
      }

      .div3 {
        position: absolute;
        left: 217px;
        top: 40px;
        width: 91px;
        height: 40px;
        background: rgba(51, 51, 51, 0.46);
        border: 1px solid #ffffff;
        border-radius: 25px;
        text-indent: 40px;
        line-height: 40px;
        font-size: 20px;
        z-index: 9;
        cursor: pointer;

        img {
          position: absolute;
          left: 12px;
          top: 5px;
          width: 28px;
          height: 28px;
        }
      }

      .div4 {
        cursor: pointer;
        position: absolute;
        font-size: 18px;
        top: 48px;
        right: 0;
        display: flex;

        div {
          // vertical-align: middle;
        }

        img {
          cursor: pointer;
          width: 26px;
          height: 26px;
          margin-right: 10px;
        }

        //cursor: pointer;
      }

      .div5 {
        //position: absolute;
        width: 26px;
        height: 26px;
        //top: 47px;
        //left: 1080px;
        cursor: pointer;
        border-radius: 26px;
      }

      .div6 {
        position: absolute;
        top: 170px;
        left: 250px;
        font-size: 20px;

        span {
          margin-right: 40px;
          cursor: pointer;
          color: #333333;
        }
      }

      .div7 {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: 35px;
        width: 700px;
        height: 55px;
        background: #ffffff;
        border-radius: 4px;
        font-size: 18px;
        overflow: hidden;
        border: 1px solid #64b6a8;

        input {
          width: 480px;
          height: 55px;
          line-height: 55px;
          text-indent: 16px;
          font-size: 18px;
        }

        img {
          width: 25px;
          height: 25px;
          margin-left: 20px;
          cursor: pointer;
        }

        p {
          position: absolute;
          top: 0;
          right: 0;
          width: 80px;
          height: 55px;
          background-color: #64b6a8;
          text-align: center;
          line-height: 55px;
          font-size: 24px;
          cursor: pointer;
        }
      }
    }
  }

  .img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
  }
}

/* .dong {
  opacity: 0;
  right: -80px;
} */
/deep/.el-pagination.is-background .el-pager li:not(.disabled).active {
  background-color: #64b6a8;
}

.swiper {
  position: relative;
  display: inline-block;
  width: 800px;
  height: 260px;
  // overflow: hidden;
}

/deep/.swiper-button-prev,
.swiper-button-next {
  color: #64b6a8;
}

.t_1_1 {
  position: absolute !important;
  width: 130px;
  height: 58px;
  top: 30px;
  z-index: 999999;
  left: 120px;
  //top: 30px;
  //right: 20px;
}

.tit1 {
  width: 100%;
  height: 120px;
  background-color: #f2f2f2;

  .list {
    width: 1200px;
    margin-left: 50%;
    padding-top: 32px;
    transform: translateX(-50%);
    background-color: #f2f2f2;

    div {
      display: inline-block;
      vertical-align: middle;
      font-size: 20px;
      color: #333333;
      margin-right: 40px;
      cursor: pointer;
    }

    .li {
      font-size: 28px;
      color: #64b6a8;
      margin-right: 60px;

      img {
        /* width: 60px;
        height: 60px; */
      }

      span {
        vertical-align: middle;
      }
    }

    .sousuo {
      position: relative;
      display: inline-block;
      vertical-align: middle;
      width: 380px;
      height: 50px;
      background: #ffffff;
      border-radius: 4px;
      font-size: 18px;
      overflow: hidden;

      input {
        width: 300px;
        height: 55px;
        line-height: 55px;
        text-indent: 16px;
        font-size: 18px;
      }

      img {
        width: 25px;
        height: 25px;
        margin-left: 20px;
        cursor: pointer;
      }

      p {
        position: absolute;
        top: 0;
        right: 0;
        width: 80px;
        height: 55px;
        background-color: #64b6a8;
        text-align: center;
        line-height: 55px;
        font-size: 24px;
        cursor: pointer;
        color: #ffffff;
      }
    }

    .download {
      width: 200px;
      height: 50px;
      background-color: #64b6a8;
      border-radius: 6px;
      color: #fff;
      text-align: center;
      line-height: 50px;
    }

    .but {
      display: inline-block;
      width: 200px;
      height: 50px;
      background: #64b6a8;
      border-radius: 6px;
      text-align: center;
      line-height: 50px;
      color: #fff;
    }
  }
}

.saixuan {
  color: #333;
  width: 1200px;
  margin-left: 50%;
  transform: translateX(-50%);
  font-size: 0;
  margin-top: 40px;
  // padding-bottom: 20px;

  .li {
    .p1 {
      display: inline-block;
      font-size: 16px;
      font-weight: 600;
      margin-right: 24px;
      vertical-align: top;
      min-width: 72px;
    }

    .p2 {
      display: inline-block;
      font-size: 16px;
      margin-right: 32px;
      vertical-align: top;
      cursor: pointer;
    }

    div {
      display: inline-block;
      font-size: 16px;
      margin-right: 30px;
      vertical-align: top;
      margin-bottom: 10px;
    }

    .list {
      width: 940px;

      /deep/ .el-date-editor--time-select:first-child {
        position: relative;

        &::after {
          content: "至";
          position: absolute;
          top: 50%;
          transform: translateY(-50%);
          right: -24px;
        }
      }

      .custom {
        display: flex;
        align-items: center;
        margin-bottom: 0;

        .custom_title {
          font-size: 16px;
          font-weight: 400;
          color: #333333;
          margin-right: 7px;
        }

        .custom_input_wrap {
          width: 120px;
          position: relative;
          margin-right: -17px;
          margin-bottom: 0;
        }

        .custom_input {
          box-sizing: border-box;
          width: 78px;
          height: 32px;
          background-color: #ffffff;
          border-radius: 4px;
          border: 1px solid #d0d0d0;
          padding: 10px;
          padding-right: 24px;
        }

        .custom_qd {
          width: 78px;
          height: 32px;
          background-color: #64b6a8;
          border-radius: 4px;
          font-size: 16px;
          font-weight: 600;
          color: #ffffff;
          text-align: center;
          line-height: 32px;
          margin-left: 12px;
          margin-right: 12px;
          cursor: pointer;
        }

        .bq {
          width: 20px;
          height: 32px;
          color: #000;
          font-size: 16px;
          text-align: center;
          line-height: 24px;
          margin-right: 12px;
          margin-bottom: 0;
        }
      }

      div {
        cursor: pointer;
      }
    }

    .xuan {
      color: #64b6a8;
    }
  }
}

.yixuan {
  box-sizing: border-box;
  padding-top: 15px;
  margin-bottom: 24px;
  padding-left: 16px;
  width: 1200px;
  min-height: 60px;
  background-color: #f7f7f7;
  margin-left: 50%;
  transform: translateX(-50%);
  font-size: 16px;

  .na {
    color: #333333;
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
  }

  .li {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    padding: 4px 28px 4px 10px;
    color: #333333;
    color: #64b6a8;
    border: 1px solid #64b6a8;
    margin-right: 12px;

    img {
      position: absolute;
      width: 17px;
      height: 17px;
      top: 7px;
      right: 3px;
      cursor: pointer;
    }
  }

  .qinchu {
    display: inline-block;
    vertical-align: middle;
    width: 86px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background-color: #999999;
    font-size: 16px;
    color: #ffffff;
    cursor: pointer;
  }

  .qinchu,
  .li,
  .na {
    margin-bottom: 12px;
  }
}</style>
